home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_09_06
/
9n06052b
< prev
next >
Wrap
Text File
|
1991-02-25
|
411b
|
14 lines
#include "thing.hpp"
// Thing.cpp - 2/27/91 -- Michael Kelly - Author
//
// See Thing.hpp for definition of class Thing
//
// Assigning one Thing to another is a "shallow copy"
// so TheNullThing is used to "zero out" temporay
// variables that are in the Thing domain. This
// way two different destructors do not try to
// release the same dynamic memory.
//
const Thing TheNullThing;